package framework.mvc.header;

import framework.customer.ICustomer;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: asus
 * Date: 12/18/12
 * Time: 8:25 PM
 * To change this template use File | Settings | File Templates.
 */
public class CustomerTableValue implements ITableValue<ICustomer> {
    @Override
    public void setHeader(ICustomer customer, Map<String, String> header) {
        header.put("name", customer.getName());
        header.put("street", customer.getStreet());
        header.put("city", customer.getCity());
        header.put("zip", customer.getZip());
        header.put("email", customer.getEmail());
        header.put("state", customer.getState());
    }
}
